import 'package:getx_scaffold/getx_scaffold.dart';
import 'package:oramemo/core/repositories/default_api.dart';
import 'package:oramemo/entity/requst/appconfig_setting_entity.dart';

class ConfigController extends GetxController  {

  static ConfigController get to => Get.find();

  @override
  void onInit() {
    AppconfigSettingEntity appconfigSettingEntity = AppconfigSettingEntity()..configKey='sys_lang'..configValue='zh_CN';
    DefaultApi().oraAppConfigSettingPost(body: appconfigSettingEntity);
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }
}